.outer {
  border: 5px solid black;
  padding: 10px;
}

.box {
  padding: 10px;
  width: calc(90% - 30px);
  background-color: rebeccapurple;
  color: white;
}